import Vue from 'vue'
import App from './App.vue'
import axios from 'axios';
import VueRouter from 'vue-router';
import VueAxios from 'vue-axios'


import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';


Vue.use(ElementUI);
Vue.config.productionTip = false

Vue.use(VueRouter);
Vue.use(VueAxios, axios)
Vue.prototype.$axios = axios;
axios.defaults.baseURL = '/api'


new Vue({
  render: h => h(App),
}).$mount('#app')